package com.neusoft.ecommerce.service.impl;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.neusoft.ecommerce.entity.Stock;
import com.neusoft.ecommerce.mapper.StockMapper;
import com.neusoft.ecommerce.mapper.SuperMapper;
import com.neusoft.ecommerce.service.StockService;
/**
 * 
 * @author Alouette~
 *
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class StockServiceImpl extends AbstractSuperServiceImpl<Stock> implements StockService{

	public final StockMapper stockMapper;
	public StockServiceImpl(SuperMapper<Stock> superMapper,StockMapper stockMapper) {
		super(superMapper);
		this.stockMapper = stockMapper;
	}

}
